package com.ruoyi.video.mapper;

import java.util.List;
import com.ruoyi.video.domain.VideoAnalysisUser;
import org.apache.ibatis.annotations.Param;

/**
 * 视频解析Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-06
 */
public interface VideoAnalysisUserMapper 
{
    /**
     * 查询视频解析
     * 
     * @param id 视频解析主键
     * @return 视频解析
     */
    public VideoAnalysisUser selectVideoAnalysisUserById(@Param("userId") Long userId, @Param("videoId") Long videoId);

    /**
     * 查询视频解析列表
     * 
     * @param videoAnalysisUser 视频解析
     * @return 视频解析集合
     */
    public List<VideoAnalysisUser> selectVideoAnalysisUserList(VideoAnalysisUser videoAnalysisUser);

    public int batchInsertOrUpdate(@Param("userId") Long userId, @Param("videoIds") List<Long> videoIds, @Param("status") String status);

    /**
     * 新增视频解析
     * 
     * @param videoAnalysisUser 视频解析
     * @return 结果
     */
    public int insertVideoAnalysisUser(VideoAnalysisUser videoAnalysisUser);

    /**
     * 修改视频解析
     * 
     * @param videoAnalysisUser 视频解析
     * @return 结果
     */
    public int updateVideoAnalysisUser(VideoAnalysisUser videoAnalysisUser);

    /**
     * 删除视频解析
     * 
     * @param id 视频解析主键
     * @return 结果
     */
    public int deleteVideoAnalysisUserById(Long id);

    /**
     * 批量删除视频解析
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVideoAnalysisUserByIds(Long[] ids);
}
